//
//  PGPostItem.m
//  youqu
//
//  Created by 彭鹏 on 16/10/16.
//  Copyright © 2016年 pengpeng. All rights reserved.
//

#import "PGPostItem.h"
#import "PGTopCommentItem.h"
#import <MJExtension/MJExtension.h>
@implementation PGPostItem

+(NSDictionary *)mj_objectClassInArray {
    return @{@"top_cmt":[PGTopCommentItem class]};
}


- (void)setTop_cmt:(NSArray *)top_cmt {
    _top_cmt = top_cmt;
    if (top_cmt.count) {
//        NSDictionary *dict = [top_cmt firstObject];
        _topCommentItem = top_cmt.firstObject;
//        _topCommentItem = [PGTopCommentItem mj_objectWithKeyValues:dict];
    }
}

@end
